package com.ziyear.provider.config;

import com.ziyear.provider.dubbo.impl.DubboTestServiceImpl;
import com.ziyear.spi.service.DubboTestService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DubboConfig {

    @Bean
    @DubboService
    public DubboTestService dubboTestService() {
        return new DubboTestServiceImpl();
    }
}
